class matx
  {
    
	public static void main(String[] flt)
	   
	  {
		int [][] mat1={{2,4},{1,4}};
		int [][] mat2={{3,6},{4,5}};
		int [][] mat3=new int[2][2];
		   for(int i=0;i<2;i++)
			for(int j=0;j<2;j++)
                       	    mat3[i][j]=mat1[i][j]+ mat2[i][j];
				System.out.println("Sum of the addition of 2 Matrix is:");
				   System.out.println();
					for(int i=0;i<2;i++)
					   for(int j=0;j<2;j++)
						System.out.println(+mat3[i][j]+" ");
							System.out.println();

							
						
           }
 }